package cn.tqfeiyang.smartadmin.system.request;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.*;
import lombok.Data;

/**
 * 菜单添加请求
 *
 * @author tqfeiyang
 * @since 2024-08-22
 */
@Data
public class MenuCreateDTO {

    /**
     * 标题
     */
    @Schema(description = "标题")
    @NotBlank(message = "标题不能为空")
    @Size(max = 100, message = "标题长度不能超过100字符")
    private String title;

}